package io.geekidea.boot.notice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.geekidea.boot.notice.entity.Notice;
import io.geekidea.boot.notice.query.NoticeQuery;
import io.geekidea.boot.notice.vo.NoticeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {

    Page<NoticeVo> getNoticesByPage(Page<NoticeVo> page,@Param("param") NoticeQuery noticeQuery);
}
